package billingServer;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class PriceSteps implements Serializable{
	private static final long serialVersionUID = 1L;
	
	public List<PriceStep> data = new ArrayList<PriceStep>();

	public int getSize()
	{
		return data.size();
	}
	
	public double getMinPrice(int index)
	{
		return data.get(index).MinPrice;
	}

	public double getMaxPrice(int index)
	{
		return data.get(index).MaxPrice;
	}

	public double getFixedPrice(int index)
	{
		return data.get(index).FixedPrice;
	}

	public double getVariablePricePercent(int index)
	{
		return data.get(index).VariablePricePercent;
	}
}
